home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 50
/
050.d81
/
screen switcher
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
76 lines
10 poke147,0:sys57812"ss",8,1:sys62631
20 poke53280,0:poke53281,0:dimcl(8),d$(15)
30 print"[147]"
40 print"[129][211] [195] [210] [197] [197] [206] [211] [215] [201] [212] [195] [200] [197] [210] [196] [197] [205] [207]"
50 print"[149] by [198]ender [212]ucker and [199]erry [193]bear"
60 print"[159] [212]his program demonstrates how you can"
70 print"use [211]creen [211]witcher in your programs to"
80 print"flip in an [201]nstructions [211]creen at any"
90 print"point while saving the current play"
100 print"screen. [211]ee the listing of this program"
110 print"[145]to see how the four [211][217][211]tem calls work."
120 print" [158][211][217][211] 886[154] - [211]ave [211]creen #1"
130 print" [158][211][217][211] 907[154] - [210]estore [211]creen #1"
140 print" [158][211][217][211] 928[154] - [211]ave [211]creen #2
150 [153]" sys(NULL)(NULL)(NULL) 949cont - (NULL)estore (NULL)creen #2"
160 [153]" (NULL)ress (NULL)(NULL)atnlenvalwait to continue"
165 [153]" (NULL)ress (NULL)val(NULL)(NULL)(NULL)(NULL)wait to return to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)on"
170 [158]886:[143] save info screen to $c000
180 [161]a$:[139]a$[179][177]" "[175] a$[179][177][199](13)[167]180
185 [139]a$[178]" "[167]190
187 [137]666
190 [153]"load"
200 [129]i[178]0[164]7:[135]cl(i):[130]
210 [129]i[178]0[164]14:[135]d$(i):[130]
220 n1[178]1024:n2[178]40:n3[178].625
230 n4[178]39.9999:cs[178]54272:t[178]0
240 [129]w[178]0[164]30
250 [129]i[178]15[164]3[169][171]1
260 [129]j[178]0[164]17
270 k[178]i[170]j:c[178]cl((j[172]3[173](i[170]3)[170]i[172]w[173]12)[175]7)
280 y1[178]n1[170]n2[172][181](n3[172]i)
290 y2[178]n1[170]n2[172][181](n3[172]k)
300 y3[178]n1[170]n2[172][181](n3[172](n4[171]i))
310 y4[178]n1[170]n2[172][181](n3[172](n4[171]k)):x[178]c[171](30[171]t)
320 [151]i[170]y2,c:[151](i[170]y2)[170]cs,x
330 [151]n2[171]i[170]y4,c:[151](n2[171]i[170]y4)[170]cs,x
340 [151]n2[171]i[170]y2,c:[151](n2[171]i[170]y2)[170]cs,x
350 [151]i[170]y4,c:[151](i[170]y4)[170]cs,x
360 [151]k[170]y1,c:[151](k[170]y1)[170]cs,x
370 [151]n2[171]k[170]y3,c:[151](n2[171]k[170]y3)[170]cs,x
380 [151]k[170]y3,c:[151](k[170]y3)[170]cs,x
390 [151]n2[171]k[170]y1,c:[151](n2[171]k[170]y1)[170]cs,x
400 [139][194](203)[178]60[167][141]630
410 [139]j[173]4[179][177][181](j[173]4)[167]440
420 [151]646,7:[151]214,11:[153]:[153][163]16)d$(l)
430 l[178]l[170]1:[139]l[177]15[167]l[178]0
440 [130]:[130]
450 t[178]t[170]1:[139]t[178]15[167]t[178]0
460 [130]:[137]240
470 [131]42,94,170,35,91,95,127,160
480 [131]"chr$reetings"
490 [131]" from "
500 [131]" chr$erry "
510 [131]" atnbear "
520 [131]" and "
530 [131]" ascender "
540 [131]" (NULL)ucker "
550 [131]" (NULL)ress "
560 [131]" (NULL)(NULL)atnlenval "
570 [131]" to save "
580 [131]" current "
590 [131]" screen "
600 [131]" and see "
610 [131]" right$nfo "
620 [131]" right$nfo "
630 [158]928:[143] save screen 2
640 [158]907:[143] and restore info screen
650 [151]198,0
660 [161]a$:[139]a$[179][177]" "[175]a$[179][177][199](13)[167]660
665 [139]a$[178]" "[167]670
666 [159]15,8,15,"r0:hello connect=hello connect":[132]15,er%:[160]15
667 [139]er%[179][177]63[167][128]
668 [147]"hello connect",8
670 [158]949:[143] back to coffee break
680 [142]